﻿@model MVC3DEMO.Models.Entities.UploadViewModel

@{
    ViewBag.Title = "Upload";
    Layout = "~/Views/Shared/_LayoutAdmin.cshtml";
}

<h2>Upload</h2>

<form action="@ViewData["postUrl"]?nexturl=http://localhost:7642/Youtube/Success" method="post" enctype="multipart/form-data">
 <fieldset>  
                <legend>Fields</legend>  
                <p>  
                    <label for="Title">Title:</label>  
                   <input type="text" name="Title" id="Title" />
                   
                </p>  
                <p>  
                    <label for="Keywords">Keywords:</label>  
                  
                     <input type="text" name="Keywords" id="Keywords" />
                </p>  
                <p>  
                    <label for="Description">Description:</label>  
                     <input type="text" name="Description" id="Description" />
                    
                  
                </p>              
               
               
                <p>  
                    <label for="Path">Path:</label>  
                      <input type="file" name="file" />
                    <input type="hidden" name="token" value="@ViewData["tokenvalue"]" />
                   
                </p>  
                
                <p>  
                    <input type="submit" value="Create" />  
                </p>  
            </fieldset>  
</form>
       
 <div>  
  @Html.ActionLink("Back to List", "Index") 
 </div>  